package com.cwnu.onlinemall.service;

import com.cwnu.onlinemall.pojo.MallAccount;

import java.util.List;

public interface accountService {
    public List<MallAccount> selectAll();

    public MallAccount selectById(Integer id);

    public Integer deleteaccountById(Integer id);

    public Integer insertaccount(MallAccount mallAccount);

    public Integer updateaccount(MallAccount mallAccount);

    public List<MallAccount> login(MallAccount mallAccount);//登录验证

    public List<MallAccount> selectByaccount(MallAccount mallAccount);


}
